package com.gaoyang.thread;

import com.gaoyang.util.HttpUtils4Black;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Callable;

public class ZhongxinThread implements Callable {


    public ZhongxinThread() {
    }

    @Override
    public String call() throws Exception {
        String url = "https://dknp.e-pointchina.com.cn" + "/shop_citic_wap/cloudDataService.do?timestamp=" + System.currentTimeMillis();
        Map<String, String> paramMap = new HashMap<String, String>();
        paramMap.put("serviceType", "com.ebuy.shop.web.service.ItemSearchService");
        paramMap.put("serviceMethod", "searchAllItems2");
        paramMap.put("tag", "%E5%8C%97%E4%BA%AC%E5%B8%82");
        paramMap.put("offset", "0");
        paramMap.put("page_size", "10");
        String result = HttpUtils4Black.postUrl4Zhongxin(url, paramMap);
        return result;
    }

}